﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Com.Framework.Data;

namespace Com.Library.DB.Popup
{
    public class PopupEntity : DataEntity
    {
        public int SeqNo { get { return Convert.ToInt32(GetData("n4SeqNo", (int)0)); } }
        public int Width { get { return Convert.ToInt32(GetData("n4Width", (int)0)); } }
        public int Height { get { return Convert.ToInt32(GetData("n4Height", (int)0)); } }
        public int Top { get { return Convert.ToInt32(GetData("n4Top", (int)0)); } }
        public int Left { get { return Convert.ToInt32(GetData("n4Left", (int)0)); } }
		public byte PopupType { get { return Convert.ToByte(GetData("n1PopupType", (byte)0)); } }
		public string ImageURL { get { return Convert.ToString(GetData("strImageURL", string.Empty)); } }
		public string LinkURL { get { return Convert.ToString(GetData("strLinkURL", string.Empty)); } }
		public string HTML { get { return Convert.ToString(GetData("strHTML", string.Empty)); } }
        public byte IsCookie { get { return Convert.ToByte(GetData("IsCookie", (byte)0)); } }
        public DateTime CreateDate { get { return Convert.ToDateTime(GetData("dtCreateDate", DateTime.MinValue)); } }
        public string ManagerName { get { return Convert.ToString(GetData("strManagerName", string.Empty)); } }
    }
}